using Unity.IO.LowLevel.Unsafe;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Loading : MonoBehaviour {
    [SerializeField] private SceneField MenuScenes;//菜单场景

    private void Start() {
        AudioManager.Instance.PlayMusic("BGM");
        Invoke("Load", 1f);
    }

    void Load(){
        SceneManager.LoadScene(MenuScenes);
    }
}